/** 文件列表组件默认图标 license by http://eleadmin.com */
export const icons = [
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_misc.png',
    type: 'file'
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_folder.png',
    type: 'dir'
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_code.png',
    types: [
      '.java',
      '.js',
      '.css',
      '.vue',
      '.ts',
      '.tsx',
      '.scss',
      '.less',
      '.c',
      '.cpp',
      '.cs',
      '.jsp',
      '.php',
      '.asp',
      '.py',
      '.go',
      '.kt',
      '.lua'
    ]
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_htm.png',
    types: ['.html', '.htm']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_text.png',
    types: ['.txt']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_pdf.png',
    types: ['.pdf']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_word.png',
    types: ['.doc', '.docx']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_excel.png',
    types: ['.xls', '.xlsx']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_ppt.png',
    types: ['.ppt', '.pptx']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_visio.png',
    types: ['.vsd']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_ps.png',
    types: ['.psd']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_cad.png',
    types: ['.dwg']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_flash.png',
    types: ['.swf']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_music.png',
    types: ['.mp3', '.wav']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_video.png',
    types: ['.mp4', '.rmvb', '.flv', '.avi', '.3gp']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_picture.png',
    types: ['.png', '.jpg', '.jpeg', '.gif', '.bmp']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_fonts.png',
    types: ['.ttf', '.woff']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_bt.png',
    types: ['.torrent']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_android.png',
    types: ['.apk']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_exe.png',
    types: ['.exe']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_ipa.png',
    types: ['.ipa', '.dmg']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_zip.png',
    types: ['.zip', '.rar', '.7z']
  }
];

/** 表格模式对应的图标 */
export const smIcons = [
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_misc_sm.png',
    type: 'file'
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_folder_sm.png',
    type: 'dir'
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_code_sm.png',
    types: [
      '.java',
      '.js',
      '.css',
      '.vue',
      '.ts',
      '.tsx',
      '.scss',
      '.less',
      '.c',
      '.cpp',
      '.cs',
      '.jsp',
      '.php',
      '.asp',
      '.py',
      '.go',
      '.kt',
      '.lua'
    ]
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_htm_sm.png',
    types: ['.html', '.htm']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_text_sm.png',
    types: ['.txt']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_pdf_sm.png',
    types: ['.pdf']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_word_sm.png',
    types: ['.doc', '.docx']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_excel_sm.png',
    types: ['.xls', '.xlsx']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_ppt_sm.png',
    types: ['.ppt', '.pptx']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_visio_sm.png',
    types: ['.vsd']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_ps_sm.png',
    types: ['.psd']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_cad_sm.png',
    types: ['.dwg']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_flash_sm.png',
    types: ['.swf']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_music_sm.png',
    types: ['.mp3', '.wav']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_video_sm.png',
    types: ['.mp4', '.rmvb', '.flv', '.avi', '.3gp']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_picture_sm.png',
    types: ['.png', '.jpg', '.jpeg', '.gif', '.bmp']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_fonts_sm.png',
    types: ['.ttf', '.woff']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_bt_sm.png',
    types: ['.torrent']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_android_sm.png',
    types: ['.apk']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_exe_sm.png',
    types: ['.exe']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_ipa_sm.png',
    types: ['.ipa', '.dmg']
  },
  {
    icon: 'https://cdn.eleadmin.com/20200609/ic_file_zip_sm.png',
    types: ['.zip', '.rar', '.7z']
  }
];
